package cz.khfotbal.dao;

import java.util.List;

import cz.khfotbal.domain.Season;
import cz.khfotbal.domain.SeasonCompetion;
import cz.khfotbal.domain.SeasonCompetionTeam;
import cz.khfotbal.domain.Team;

public interface SeasonCompetionTeamDao {

	public List<SeasonCompetionTeam> findBySeasonCompetion(int seasonCompetionId);

	public void saveSeasonCompetionTeam(SeasonCompetion seasonCompetion,
			Team team, int number, String playDay, String playTime);

	public SeasonCompetionTeam findBySeasonCompetionAndTeam(
			SeasonCompetion seasonCompetion, Team team);

	public void updateSeasonCompetionTeam(SeasonCompetionTeam sct, int number, String playDay, String playTime);
	
	public void delete(SeasonCompetionTeam sct);

	public List<SeasonCompetionTeam> findByTeam(Team team);

	public SeasonCompetionTeam findBySeasonAndTeam(Season season, Team team);

}
